package com.xuanxu.module.system.service.impl;

import com.xuanxu.module.system.mapper.UserMapper;
import com.xuanxu.module.system.pojo.dao.UserDO;
import com.xuanxu.module.system.service.UserService;
import lombok.RequiredArgsConstructor;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author XuanXu
 * @version 1.0
 * @date 2024-06-17 15:57
 */
@Service
@RequiredArgsConstructor
public class UserServiceImpl implements UserService {

    private final UserMapper userMapper;

    @Override
    public List<UserDO> testMybatis() {
        return userMapper.selectList(null);
    }
}
